
import http from '../utils/http'
/* 
*商品相关接口
*/
//添加分类
export function addCategory(params) {
	return http.post('addCategory', params)
}
//编辑分类
export function editCategory(params) {
	return http.post('editCategory', params)
}
// 分类列表
export function cateGoryAllList(params) {
	return http.get('cateGoryAllList', params)
}
//分类列表
export function cateGoryList(params) {
	return http.get('cateGoryList', params)
}
//二级分类列表
export function categoryTwoList(params) {
	return http.get('categoryTwoList', params)
}

//添加商品
export function addGoods(params) {
	return http.post('addGoods', params)
}
//商品列表
export function goodsList(params) {
	return http.get('goodsList', params)
}
//编辑商品
export function editGoods(params) {
	return http.post('editGoods', params)
}
//删除商品
export function destroyGoods(params) {
	return http.post('destroyGoods', params)
}


//修改商品状态
export function setGoodsStatus(params) {
	return http.post('setGoodsStatus', params)
}
//获取商品信息
export function getGoodsDetail(params) {
	return http.get('getGoodsDetail', params)
}

//报价列表
export function goodsQuoList(params) {
	return http.get('goodsQuoList', params)
}
//提交商品保价
export function goodsQuotation(params) {
	return http.post('goodsQuotation', params)
}
//审核状态下 修改库存
export function goodsStockUpdate(params) {
	return http.post('goodsStockUpdate', params)
}


